/*
 * Copyright (c) 2008-2017 浩瀚深度 All Rights Reserved.
 *
 * FileName: JsonMsgRequest.java
 *
 * Description：
 *
 * History:
 * v1.0.0, zmw, 2017年8月9日, Create
 */
package com.monitor.utils;

/**
 * Json相关的格式报文头
 *
 * @author zmw
 * @version 1.0.0
 * @since 1.0.0
 */
public class JsonMsgRequest {
    /**
     * 消息序号
     */
    private int sequence;
    /**
     * 消息来源
     */
    private String source;
    /**
     * 通信协议版本
     */
    private String version;
    /**
     * 消息类型
     */
    private int type;
    /**
     * 操作类型
     */
    private int operate;
    /**
     * 命令大小
     */
    private int size;
    /**
     * 具体命令内容
     */
    private Object message;

    /**
     * @return the sequence
     */
    public int getSequence() {
        return sequence;
    }

    /**
     * @param sequence the sequence to set
     */
    public void setSequence(int sequence) {
        this.sequence = sequence;
    }

    /**
     * @return the source
     */
    public String getSource() {
        return source;
    }

    /**
     * @param source the source to set
     */
    public void setSource(String source) {
        this.source = source;
    }

    /**
     * @return the version
     */
    public String getVersion() {
        return version;
    }

    /**
     * @param version the version to set
     */
    public void setVersion(String version) {
        this.version = version;
    }

    /**
     * @return the type
     */
    public int getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(int type) {
        this.type = type;
    }

    /**
     * @return the operate
     */
    public int getOperate() {
        return operate;
    }

    /**
     * @param operate the operate to set
     */
    public void setOperate(int operate) {
        this.operate = operate;
    }

    /**
     * @return the size
     */
    public int getSize() {
        return size;
    }

    /**
     * @param size the size to set
     */
    public void setSize(int size) {
        this.size = size;
    }

    /**
     * @return the message
     */
    public Object getMessage() {
        return message;
    }

    /**
     * @param message the message to set
     */
    public void setMessage(Object message) {
        this.message = message;
    }
}
